package ssm.blog.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import ssm.blog.entity.ContactMsg;
import ssm.blog.entity.ContactMsgExample;

public interface ContactMsgMapper {
    int countByExample(ContactMsgExample example);

    int deleteByExample(ContactMsgExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ContactMsg record);

    int insertSelective(ContactMsg record);

    List<ContactMsg> selectByExample(ContactMsgExample example);

    ContactMsg selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ContactMsg record, @Param("example") ContactMsgExample example);

    int updateByExample(@Param("record") ContactMsg record, @Param("example") ContactMsgExample example);

    int updateByPrimaryKeySelective(ContactMsg record);

    int updateByPrimaryKey(ContactMsg record);
}